[INFO] cloning repository https://github.com/Payathp/text-adventure
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Payathp/text-adventure" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPayathp%2Ftext-adventure", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPayathp%2Ftext-adventure'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 15342f7159d7024a6e3186bebf4dd84c944977ee
[INFO] checking Payathp/text-adventure against master#cfbc6d4cf1acbac5c025acf8ed68929caa551df3 for pr-75494-beta
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FPayathp%2Ftext-adventure" "/workspace/builds/worker-8/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-8/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Payathp/text-adventure on toolchain cfbc6d4cf1acbac5c025acf8ed68929caa551df3
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Payathp/text-adventure
[INFO] finished tweaking git repo https://github.com/Payathp/text-adventure
[INFO] tweaked toml for git repo https://github.com/Payathp/text-adventure written to /workspace/builds/worker-8/source/Cargo.toml
[INFO] crate git repo https://github.com/Payathp/text-adventure already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f8877c8dd0b240de0017baa6f450e559eb97173c08142a8de353b4a2148fe82c
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "f8877c8dd0b240de0017baa6f450e559eb97173c08142a8de353b4a2148fe82c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f8877c8dd0b240de0017baa6f450e559eb97173c08142a8de353b4a2148fe82c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f8877c8dd0b240de0017baa6f450e559eb97173c08142a8de353b4a2148fe82c", kill_on_drop: false }`
[INFO] [stdout] f8877c8dd0b240de0017baa6f450e559eb97173c08142a8de353b4a2148fe82c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-8/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+cfbc6d4cf1acbac5c025acf8ed68929caa551df3" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] e417fb903e64b1496d20106a4cd72268bf4a6caba949f3048cc327af2200313c
[INFO] running `Command { std: "docker" "start" "-a" "e417fb903e64b1496d20106a4cd72268bf4a6caba949f3048cc327af2200313c", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Checking text-adventure v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `enemies`
[INFO] [stdout]  --> src/player.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use enemies;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `enemies`
[INFO] [stdout]  --> src/player.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use enemies;
[INFO] [stdout]   |     ^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `victory`
[INFO] [stdout]   --> src/player.rs:19:66
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn new(inventory: Vec<items::Item>, hp: i32, x: i32, y: i32, victory: bool) -> Player
[INFO] [stdout]    |                                                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_victory`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `action_method`
[INFO] [stdout]    --> src/player.rs:107:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let mut action_method = actions::Action::identify_action_with_enemies(action, self, map);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `victory`
[INFO] [stdout]   --> src/player.rs:19:66
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn new(inventory: Vec<items::Item>, hp: i32, x: i32, y: i32, victory: bool) -> Player
[INFO] [stdout]    |                                                                  ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_victory`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `action_method`
[INFO] [stdout]    --> src/player.rs:107:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let mut action_method = actions::Action::identify_action_with_enemies(action, self, map);
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_action_method`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/player.rs:107:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let mut action_method = actions::Action::identify_action_with_enemies(action, self, map);
[INFO] [stdout]     |             ----^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/game.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let mut current_room = &mut world::tile_exists(&map, current_player.position.x, current_player.position.y).unwrap().clone();
[INFO] [stdout]    |             ----^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_name`
[INFO] [stdout]    --> src/tiles.rs:194:12
[INFO] [stdout]     |
[INFO] [stdout] 194 |     pub fn get_name(&self) -> &'static str
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `not_empty_tile`
[INFO] [stdout]    --> src/tiles.rs:199:12
[INFO] [stdout]     |
[INFO] [stdout] 199 |     pub fn not_empty_tile(&self) -> bool
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new_rock`
[INFO] [stdout]   --> src/items.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn new_rock() -> Item
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_damage`
[INFO] [stdout]   --> src/items.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn get_damage(&self) -> i32
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new_ogre`
[INFO] [stdout]   --> src/enemies.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub fn new_ogre() -> Enemy
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_name`
[INFO] [stdout]   --> src/enemies.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn get_name<'a>(&self) -> &'a str
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `current_position`
[INFO] [stdout]   --> src/player.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn current_position(&self) -> &tiles::Position
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `do_action`
[INFO] [stdout]    --> src/player.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 |     pub fn do_action<'a>(&mut self, map: &mut Vec<tiles::Room>, action: &'a str)
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/player.rs:107:13
[INFO] [stdout]     |
[INFO] [stdout] 107 |         let mut action_method = actions::Action::identify_action_with_enemies(action, self, map);
[INFO] [stdout]     |             ----^^^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/game.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let mut current_room = &mut world::tile_exists(&map, current_player.position.x, current_player.position.y).unwrap().clone();
[INFO] [stdout]    |             ----^^^^^^^^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_name`
[INFO] [stdout]    --> src/tiles.rs:194:12
[INFO] [stdout]     |
[INFO] [stdout] 194 |     pub fn get_name(&self) -> &'static str
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `not_empty_tile`
[INFO] [stdout]    --> src/tiles.rs:199:12
[INFO] [stdout]     |
[INFO] [stdout] 199 |     pub fn not_empty_tile(&self) -> bool
[INFO] [stdout]     |            ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new_rock`
[INFO] [stdout]   --> src/items.rs:46:12
[INFO] [stdout]    |
[INFO] [stdout] 46 |     pub fn new_rock() -> Item
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_damage`
[INFO] [stdout]   --> src/items.rs:51:12
[INFO] [stdout]    |
[INFO] [stdout] 51 |     pub fn get_damage(&self) -> i32
[INFO] [stdout]    |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `new_ogre`
[INFO] [stdout]   --> src/enemies.rs:34:12
[INFO] [stdout]    |
[INFO] [stdout] 34 |     pub fn new_ogre() -> Enemy
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `get_name`
[INFO] [stdout]   --> src/enemies.rs:44:12
[INFO] [stdout]    |
[INFO] [stdout] 44 |     pub fn get_name<'a>(&self) -> &'a str
[INFO] [stdout]    |            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `current_position`
[INFO] [stdout]   --> src/player.rs:77:12
[INFO] [stdout]    |
[INFO] [stdout] 77 |     pub fn current_position(&self) -> &tiles::Position
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function is never used: `do_action`
[INFO] [stdout]    --> src/player.rs:105:12
[INFO] [stdout]     |
[INFO] [stdout] 105 |     pub fn do_action<'a>(&mut self, map: &mut Vec<tiles::Room>, action: &'a str)
[INFO] [stdout]     |            ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 13 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished dev [unoptimized + debuginfo] target(s) in 0.60s
[INFO] running `Command { std: "docker" "inspect" "e417fb903e64b1496d20106a4cd72268bf4a6caba949f3048cc327af2200313c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e417fb903e64b1496d20106a4cd72268bf4a6caba949f3048cc327af2200313c", kill_on_drop: false }`
[INFO] [stdout] e417fb903e64b1496d20106a4cd72268bf4a6caba949f3048cc327af2200313c
